package com.tc.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tc.dao.DeviceInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface DeviceInfoMapper extends BaseMapper<DeviceInfoEntity> {
    @Update(" <script> " +
            " update device_info set device_status = ${deviceStatus} where device_id = #{deviceId} " +
            " </script> ")
    void updateByDeviceId(DeviceInfoEntity deviceInfoEntity);

}
